<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test ajax</title>
    <script type="text/javascript" src="http://119.23.182.180/jquery-3.5.1.min.js"></script>
    <script type="text/javascript">
        function send_ajax(){
            $.ajax({
                type:'GET',
                url:'http://127.0.0.1:3000/ad/1',
                dataType: 'json',
                success:(res)=>{
                    console.log(res);
                }


            })

        }

    </script>
</head>
<body>
<div>
    <div>
        <button onclick="send_ajax()">click</button>
    </div>
</div>

</body>
</html>
